#include "Tests.h"
#include "MyersAlgorythm.h"
#include "ReadAndPrint.h"


int main() {

    std::ifstream first_sequence_file("first_sequense_file.txt");
    std::vector<std::string> first_sequence_string = ReadSequence(first_sequence_file);
    first_sequence_file.close();

    std::ifstream second_sequence_file("second_sequense_file.txt");
    std::vector<std::string> second_sequence_string = ReadSequence(second_sequence_file);
    second_sequence_file.close();

    std::ofstream algo_answer_file("algo_answer_file.txt");
    vector<Point> common_string_numbers = GetCommonStringsNumbers(first_sequence_string, second_sequence_string, algo_answer_file);
    PrintSequenceOfChanges(first_sequence_string, second_sequence_string, common_string_numbers, algo_answer_file);
    algo_answer_file.close();

    return 0;
}
